package com.ruoyi.common.utils;

import java.util.Arrays;
import java.util.Objects;

public class ArraysUtils {

    public static <T> boolean isBlank(T[] ids) {
        return ids == null || Arrays.stream(ids).distinct().allMatch(Objects::isNull);
    }
}
